/* `ptrace' debugger support interface.  Linux version.
   Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
   This file is part of the GNU C Library.

   The GNU C Library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.

   The GNU C Library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with the GNU C Library; if not, write to the Free
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
   02111-1307 USA.  */

#ifndef _SYS_PTRACE_H
#define _SYS_PTRACE_H	1

#define  PTRACE_TRACEME    0 		/* 0, by tracee to begin tracing */
#define  PTRACE_CHILDDONE  0 		/* 0, tracee is done with his half */
#define  PTRACE_PEEKTEXT   1		/* 1, read word from text segment */
#define  PTRACE_PEEKDATA   2	/* 2, read word from data segment */
#define  PTRACE_PEEKUSER   3	/* 3, read word from user struct */
#define  PTRACE_POKETEXT   4	/* 4, write word into text segment */
#define  PTRACE_POKEDATA   5	/* 5, write word into data segment */
#define  PTRACE_POKEUSER   6	/* 6, write word into user struct */
#define  PTRACE_CONT       7	/* 7, continue process */
#define  PTRACE_KILL       8	/* 8, terminate process */
#define  PTRACE_SINGLESTEP 9/* 9, single step process */
#define  PTRACE_ATTACH     10 /* 10, attach to an existing process */
#define  PTRACE_DETACH     11 /* 11, detach from a process */
#define  PTRACE_SIGEXC     12 /* 12, signals as exceptions for current process */
#define  PTRACE_THUPDATE   13/* 13, signal for thread */
#define  PTRACE_ATTACHEXC  14/* 14, attach to running process with signals as exceptions */

#endif /* _SYS_PTRACE_H */
